package com.dx.mes.service.pojo;

import java.util.ArrayList;
import java.util.List;

public class ChartDataExcel {
	private static List<ChartDataCell> chartDataCellList = new ArrayList<ChartDataCell>();

	private static final String[] headers = new String[] { "上报时间", "玻璃ID", "量测平均值", "是否超规    ",
			"是否超控    ", "上规格线    ", "上控制线    ", "中心线      ", "下规格线    ", "下控制线    ", "上报用户    ",
			"产品代码    ", "机台ID      ", "配方        ", "工艺路线    ", "工艺站点序号", "工艺站点代码", "制程代码    ",
			"备注原因    ", "备注信心    ", "备注用户    ", "备注时间    " };

	private static final String DATA_TYPE_INT = "INT";
	private static final String DATA_TYPE_DOUBLE = "DOUBLE";
	private static final String DATA_TYPE_STRING = "STRING";

	public static final int INPUT_TIMESTAMP = 0;
	public static final int PRD_SEQ_ID_FK = 1;
	public static final int CHART_VALUE = 2;
	public static final int CHART_SPEC_RLT_FK = 3;
	public static final int CHART_RULE1_RLT_FK = 4;
	public static final int CHART_USL_FK = 5;
	public static final int CHART_UCL_FK = 6;
	public static final int CHART_MEAN_FK = 7;
	public static final int CHART_LCL_FK = 8;
	public static final int CHART_LSL_FK = 9;
	public static final int EVT_USR = 10;
	public static final int MDL_ID_FK = 11;
	public static final int P_TOOL_ID_FK = 12;
	public static final int P_RECIPE_ID_FK = 13;
	public static final int P_PATH_ID_FK = 14;
	public static final int P_OPE_NO_FK = 15;
	public static final int P_OPE_ID_FK = 16;
	public static final int P_PROC_ID_FK = 17;
	public static final int CHART_COMMENT_RSN = 18;
	public static final int CHART_COMMENT = 19;
	public static final int CHART_COMMENT_USR = 20;
	public static final int CHART_COMMENT_TIMESTAMP = 21;

	public ChartDataExcel() {
		super();
		chartDataCellList.add(new ChartDataCell(INPUT_TIMESTAMP, "上报时间", 23, DATA_TYPE_STRING));

	}

	public static String getHeadTxt(int colIndex) {
		return headers[colIndex];
	}

	public static String[] getHeaders() {
		return headers;
	}

}
